package edu.bu.bga.generator;

import android.content.Context;
import edu.bu.bga.db.DatabaseHelper;
import edu.bu.bga.rule.Rule;

public class DatabaseRuleGenerator implements RuleGenerator {

	private DatabaseHelper databaseHelper;

	public DatabaseRuleGenerator(Context context) {
		databaseHelper = new DatabaseHelper(context);
	}

	@Override
	public Rule generateRule() {
		return databaseHelper.getRule();
	}

}
